<%= form_for(@bird) do |f| %>
  <% if @bird.errors.any? %>
    <div id="error_explanation">
      <h2><%= pluralize(@bird.errors.count, "error") %> prohibited this bird from being saved:</h2>

      <ul>
      <% @bird.errors.full_messages.each do |msg| %>
        <li><%= msg %></li>
      <% end %>
      </ul>
    </div>
  <% end %>

  <div class="field">
    <%= f.label :common_name %><br />
    <%= f.text_field :common_name %>
  </div>
  <div class="field">
    <%= f.label :reviewable %><br />
    Yes<%= f.radio_button :reviewable, "yes" %>
    No<%= f.radio_button :reviewable, "no" %>
  </div>
    <div class="field">
    <%= f.label :region %><br />
    <%= f.text_area :region %>
  </div>
  
  <div class="actions">
    <%= f.submit :class=> 'btn-custom'%>
  </div>
<% end %>
